<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>Features</title><link rel="stylesheet" type="text/css" href="manual.css"><meta name="generator" content="DocBook XSL Stylesheets V1.76.0"><link rel="home" href="index.html" title="JpGraph Manual"><link rel="up" href="ch24.html" title="Chapter 24. Linear Barcodes (One Dimensional Barcodes)"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Features</th></tr><tr><td width="20%" align="left"> </td><th width="60%" align="center">Chapter 24. Linear Barcodes (One Dimensional Barcodes)</th><td width="20%" align="right"> </td></tr></table><hr></div><div class="sect1" title="Features"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2596063"></a>Features</h2></div></div></div>
            
            <p>This is a summary of the features available in the JpGraph barcode extension. </p>
            <p>
                </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem">
                        <p>Supports the following symbologies (with data validation)</p>
                        <p>
                            </p><div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem">
                                    <p>UPC A</p>
                                </li><li class="listitem">
                                    <p>UPC E</p>
                                </li><li class="listitem">
                                    <p>EAN 128</p>
                                </li><li class="listitem">
                                    <p>EAN 13</p>
                                </li><li class="listitem">
                                    <p>EAN 8</p>
                                </li><li class="listitem">
                                    <p>CODE 11 (USD-8)</p>
                                </li><li class="listitem">
                                    <p>CODE 39</p>
                                </li><li class="listitem">
                                    <p>CODE 128</p>
                                </li><li class="listitem">
                                    <p>Industrial 2 of 5</p>
                                </li><li class="listitem">
                                    <p>Interleaved 2 of 5</p>
                                </li><li class="listitem">
                                    <p>Codabar</p>
                                </li><li class="listitem">
                                    <p>Bookland (ISBN)</p>
                                </li></ol></div><p>
                        </p>
                    </li><li class="listitem">
                        <p>Input data is verified against the official specification of each
                            symbologies and makes it impossible to create invalid bar codes.</p>
                    </li><li class="listitem">
                        <p>Output format </p>
                        <p>
                            </p><div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem">
                                    <p>Image format (either PNG or JPG encoding) </p>
                                </li><li class="listitem">
                                    <p>Postscript</p>
                                </li><li class="listitem">
                                    <p>Encapsulated postscript</p>
                                </li></ol></div><p>
                        </p>
                    </li><li class="listitem">
                        <p>Formatting options </p>
                        <p>
                            </p><div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem">
                                    <p>User specified module width. This controls the width of
                                        the smallest unity in the barcode.</p>
                                </li><li class="listitem">
                                    <p>Automatic calculation of optional checksum for symbologies
                                        where the checksum is optional</p>
                                </li><li class="listitem">
                                    <p>User specified scaling of resulting bar code</p>
                                </li><li class="listitem">
                                    <p>Horizontal or vertical bar code layout</p>
                                </li><li class="listitem">
                                    <p>Suppression of human readable text on barcodes</p>
                                </li><li class="listitem">
                                    <p>Selectable font for human readable text</p>
                                </li></ol></div><p>
                        </p>
                    </li></ul></div><p>
            </p>
            <p>
                </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3>
                    <p>The term "symbology" is the term used to describe the combination of
                        encodation method (how characters are translated to bars) and the layout of
                        the bars specified by a particular barcode standard. All of the listed
                        standard symbologies above are still widely used. Many of the symbologies
                        overlap in terms of functionality and multiple symbologies might be possible
                        to use for a particular application unless there is a strict standard that
                        stipulates that a particular symbology should be used. </p>
                    <p>The reason for the existence of so many symbologies with overlapping
                        functionality is in some cases the result of different companies early on
                        specifying there own patented barcodes in order to gain market shares or in
                        some cases lock customers to a specific brand of scanner. In other cases it
                        is simply the result of that earlier barcodes could not handle new
                        demands.</p>
                </div><p>
            </p>
            <div class="sect2" title="Sample application"><div class="titlepage"><div><div><h3 class="title"><a name="id2596334"></a> Sample application</h3></div></div></div>
                
                <p>Even though primarily the JpGraph bar code extension is meant, and designed,
                    to be used as a library within a larger system there is a small demo web
                    application to allow easy creation of linear barcodes bar codes. This
                    application is primarily included as a demo of the features available and not as
                    a finalized product.</p>
                <p>The application is available under the directory
                        "<code class="filename">barcode/demoapp</code>" as "<code class="filename">index.html</code>"
                    in the main library directory</p>
                <p><a class="xref" href="ch24s04.html#fig.linear-barcode-demoapp" title="Figure 24.2. Linear Barcode Demo application (screen shot from running in WEB-browser)">Figure 24.2. Linear Barcode Demo application (screen shot from running in
                            WEB-browser)</a> shows a screen shot of the
                    demo application</p>
                <p>
                    </p><div class="figure"><a name="fig.linear-barcode-demoapp"></a><p class="title"><b>Figure 24.2. Linear Barcode Demo application (screen shot from running in
                            WEB-browser)</b></p><div class="figure-contents">
                        
                        <div class="mediaobject"><img src="images/barcode-demoapp.png" alt="Linear Barcode Demo application (screen shot from running in WEB-browser)"></div>
                    </div></div><p><br class="figure-break">
                </p>
                <p>We strongly suggest running this demo application to get a feel for what
                    formatting options and how the different symbologies behave.</p>
                <p>
                    </p><div class="tip" title="Tip" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Tip</h3>
                        <p>There is also a command line utility that allows the creation of
                            barcodes from the command line
                            "<code class="filename">mkbarcode.php</code>"</p>
                    </div><p>
                </p>
            </div>
        </div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"> </td><td width="20%" align="center"><a accesskey="u" href="ch24.html">Up</a></td><td width="40%" align="right"> </td></tr><tr><td width="40%" align="left" valign="top"> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> </td></tr></table></div></body></html>
